﻿using System;
using System.Data;
using System.Text;
using System.Configuration;
using System.Collections;
using System.Collections.Generic;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Microsoft.Reporting.WebForms;
using GC2.Entities.Seguridad;

public partial class Informes_RptCuponReciboVew : GenericPage
{
    Usuarios usuario = new Usuarios();

    #region Controles

    #region Page_Load
    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            if (!IsPostBack)
            {
                //usuario = (Usuarios)Session["UsuarioActual"];
                CuponRecibo();
            }
        }
        catch (Exception ex) { ErrorUI(ex); }
    }
    #endregion

    #endregion

    #region Metodos

    #region CuponRecibo
    private void CuponRecibo()
    {
        try
        {
            //List<ReportParameter> listaParametros = new List<ReportParameter>();

            //ReportParameter objParametro = new ReportParameter("CuotasCupon",Session["CuotasCupon"].ToString());
            //listaParametros.Add(objParametro);

            //rwCuponR.LocalReport.SetParameters(listaParametros);

            rwCuponR.LocalReport.Refresh();
        }
        catch (Exception ex) { ErrorUI(ex); }
    }
    #endregion

    #endregion
}

